<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>详细</title>
</head>
<body>


	<div class="container-fluid">

		<div class="row">
			<div class="col-sm-12">

				<div class="modal-header">
					<button type="button" class="close" data-ng-click="Model.cancel()"
						data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h5>{{Model.title}}</h5>
				</div>
				<div class="modal-body">

					<nav class="nav">
						<query-like data="dataList" place-holder="模糊查询..."></query-like>
					</nav>
		<div class="table-responsive">
					<table class="table table-hover table-condensed" style="margin:0px;">
						<thead>
								<tr>
									<th colspan="99"  style="padding:0px;">
									</th>
								</tr>


							<tr>
								<th></th>
								<th>#</th>
								<th><input type="checkbox" data-ng-model="checkboxValue" data-ng-click="Model.checkboxClick($event)"></th>
								<th hidden="hidden">日期</th>
								<th>订单号</th>
								<th>物料编码</th>
								<th>物料描述</th>
								<th hidden="hidden">基本计量单位代码</th>
								<th>单位</th>
								<th>订单数量</th>
								<th>待收数量</th>
								<th hidden="hidden">仓库代码</th>
								<th hidden="hidden">仓库</th>
								<th>库存地</th>

							</tr>
						</thead>
						<tbody>
							<tr data-ng-show="row.userdata.recordState!='delete'"
								data-ng-class="{true:'active'}[dataList.currentIndex==dataList.rows.indexOf(row)]"
								data-ng-click="dataList.onRowClick(row,$event)"
								data-ng-dblclick="dataList.onRowDblClick(row,$event);Model.gridRowDblClick({'rowIndex':dataFileUnit.rows.indexOf(row),'rowID':row.fID.value})"
								data-ng-repeat="row in dataList.rows">
								<td style="width: 10px;"><span
									data-ng-show="dataList.currentIndex==dataList.rows.indexOf(row)"
									class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>

								<td style="width: 10px;">{{dataList.rows.indexOf(row)+1}}<span></span></td>
								<td style="width: 50px;"><input type="checkbox" data-ng-model="row.userdata.checked"></td>
								<td style="width: 110px;" hidden="hidden"><span
									data-ng-bind="row.orderDate.value"></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.stockNo.value"></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.itemNo.value"></span></td>
								<td style="width: 200px;"><span
									data-ng-bind="row.itemDescribe.value"></span></td>
								<td style="width: 100px;" hidden="hidden"><span
									data-ng-bind="row.unitCode.value"></span></td>
								<td style="width: 50px;"><span
									data-ng-bind="row.unitName.value"></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.itemAmount.value"></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.pendingQuantity.value"></span></td>
								<td style="width: 100px;" hidden="hidden"><span
									data-ng-bind="row.storageNo.value"></span></td>
								<td style="width: 100px;" hidden="hidden"><span
									data-ng-bind="row.storageName.value"></span></td>
								<td style="width: 200px;"><span
									data-ng-bind="row.floorNo.value"></span></td>
							</tr>

						</tbody>
						<tfoot>
								<tr>
									<th colspan="99"  style="padding:0px;">
									</th>
								</tr>
						</tfoot>

					</table>
				</div>

					<pag-ination data="dataList" first-text="首页"
						previous-text="上一页" next-text="下一页" last-text="末页"></pag-ination>



				</div>
				<div class="modal-footer">
					<button class="btn btn-primary" data-ng-click="Model.ok()">确定</button>
					<button class="btn btn-warning" data-ng-click="Model.cancel()">取消</button>
				</div>



			</div>
		</div>

	</div>




</body>
</html>